class clusters::bonding (
 $interfaces = [
  { name =>  'eth0', mac =>'00,00,00,00,00,00'}
  ],
)
{
  file {"/etc/udev/rules.d/60-net.rules":
    mode       =>  '0644',
    owner      =>  'root',
    group      =>  'root',
    content    =>   template("${module_name}/60-net.rules-bond.erb"),
  }
  kernel_parameter { "net.ifnames":
    ensure  => present,
    value   => "1",
  }
  include '::network'
}
